package com.biaobiaoqi.scoreanalysis.service;

import java.util.List;

import com.biaobiaoqi.scoreanalysis.exception.DuplicateCourseException;
import com.biaobiaoqi.scoreanalysis.exception.NoSuchClazzTypeFoundException;
import com.biaobiaoqi.scoreanalysis.hibernate.bean.Course;


public interface ICourseService {

	public void addCourse(String name, int belongClazzType) throws DuplicateCourseException;
	
	public List<Course> listAllCourse(int start, int number);
	
	public List<Course> listCourse(String clazzType) throws NoSuchClazzTypeFoundException;
	
	public Course findCourse(int courseId);
	
	public Course findCourse(String courseName);
	
	public void deleteCourse(int courseId);
}
